package com.ruoyi.examine.domain;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宿舍检查对象 tb_dormitory_inspection
 *
 * @author ruoyi
 * @date 2023-12-27
 */
public class TbDormitoryInspection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 周次 */
    @Excel(name = "周次")
    private String cycle;

    /** 周几 */
    @Excel(name = "周几")
    private String dayWeek;

    /** 检查人 */
    @Excel(name = "检查人")
    private String examiner;

    /** 被检年级 */
    @Excel(name = "被检年级")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String gradeId;

    /** 被检班级 */
    @Excel(name = "被检班级")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String  classId;

    /** 宿舍类别(1:男宿舍，2：女宿舍) */
    @Excel(name = "宿舍类别(1:男宿舍，2：女宿舍)")
    private String typesQuarters;

    /** 楼栋id */
    @Excel(name = "楼栋id")
    private String buildingId;

    /** 被检宿舍 */
    @Excel(name = "被检宿舍")
    private String inspectedQuarters;

    /** 床号 */
    @Excel(name = "床号")
    private String bedNumberId;

    /** 检查内容 */
    @Excel(name = "检查内容")
    private String checkContent;

    /** 扣分分数 */
    @Excel(name = "扣分分数")
    private BigDecimal demeritPoint;

    /** 扣分原因 */
    @Excel(name = "扣分原因")
    private String reason;

    // 楼栋名称
    private String  buildName;

   // 班级名称
    private String className;

    // 年级名称
    private String gradeName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public String getDayWeek() {
        return dayWeek;
    }

    public void setDayWeek(String dayWeek) {
        this.dayWeek = dayWeek;
    }

    public String getExaminer() {
        return examiner;
    }

    public void setExaminer(String examiner) {
        this.examiner = examiner;
    }

    public String getGradeId() {
        return gradeId;
    }

    public void setGradeId(String gradeId) {
        this.gradeId = gradeId;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getTypesQuarters() {
        return typesQuarters;
    }

    public void setTypesQuarters(String typesQuarters) {
        this.typesQuarters = typesQuarters;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    public String getInspectedQuarters() {
        return inspectedQuarters;
    }

    public void setInspectedQuarters(String inspectedQuarters) {
        this.inspectedQuarters = inspectedQuarters;
    }

    public String getBedNumberId() {
        return bedNumberId;
    }

    public void setBedNumberId(String bedNumberId) {
        this.bedNumberId = bedNumberId;
    }

    public String getCheckContent() {
        return checkContent;
    }

    public void setCheckContent(String checkContent) {
        this.checkContent = checkContent;
    }

    public BigDecimal getDemeritPoint() {
        return demeritPoint;
    }

    public void setDemeritPoint(BigDecimal demeritPoint) {
        this.demeritPoint = demeritPoint;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cycle", getCycle())
            .append("dayWeek", getDayWeek())
            .append("examiner", getExaminer())
            .append("gradeId", getGradeId())
            .append("classId", getClassId())
            .append("typesQuarters", getTypesQuarters())
            .append("buildingId", getBuildingId())
            .append("inspectedQuarters", getInspectedQuarters())
            .append("bedNumberId", getBedNumberId())
            .append("checkContent", getCheckContent())
            .append("demeritPoint", getDemeritPoint())
            .append("reason", getReason())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("buildName",getBuildName())
            .append("className", getClassName())
            .append("gradeName",getGradeName())
            .toString();
    }
}
